//
//  IGUpDateAddressApi.m
//  jingdongfang
//
//  Created by MTiMac02 on 2017/9/14.
//  Copyright © 2017年 LJL. All rights reserved.
//

#import "IGUpDateAddressApi.h"

@implementation IGUpDateAddressApi

- (id)initWithConsignee:(NSString *)consignee phone:(NSString *)phone region:(NSString *)region detail:(NSString *)detail addressId:(NSString *)addressId {
    self= [super init];
    if (self) {
        _consignee=consignee;
        _phone=phone;
        _region=region;
        _detail=detail;
        _addressId=addressId;
    }
    return self;

}

- (NSString *)requestUrl {
    return @"works/address!updateAddress.action";
}

- (id)requestArgument {
    return @{
             @"uid":[IGUser getUid],
             @"consignee": _consignee,
             @"phone": _phone,
             @"region": _region,
             @"detail": _detail,
             @"addressId":_addressId
             };
}

@end
@implementation IGUpDateAddressModel

@end
@implementation IGUpDateAddressResp

@end
